.switch-card {
  margin: 12px;
  padding: 24px 0 0;
  width: 270px;
  border: 1px solid #e6eaef;
  .ant-avatar {
    border: 1px solid #e6eaef;
    display: flex;
    align-items: center;
    justify-content: center;
    > img {
      width: 29px;
      height: auto;
    }
  }
  &-title {
    display: flex;
    padding: 0 24px;
  }

  &-switch-icon {
    margin-right: 16px;
  }

  &-switch-name {
    width: 110px;
    margin: 4px 20px 2px 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  @keyframes rotate {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  &-switch-status {
    height: 100%;
    transition: 0.5s;
    transform-origin: 50% 50%;
    animation: rotate 1.5s linear infinite;
  }

  &-content {
    padding: 0 24px 24px;
    margin-top: 32px;
    &-item {
      margin-bottom: 16px;
      h4 {
        margin-bottom: 6px;
      }
    }
  }

  &-footer {
    display: flex;
    justify-content: space-between;
    padding: 14px 24px;
    border-top: 1px solid #e6eaef;
    &-operate {
      span {
        cursor: pointer;
        margin-right: 16px;
      }
    }
  }

  .unactive {
    filter: grayscale(100%);
    filter: gray;
  }
}
